import request from '@/util/request'
// 查询全部活动
export const getActivity = (status:number, pageCurrent:number, pageSize:number) => {
  return request({
    url: `/volunteers/page/${status}/${pageCurrent}/${pageSize}`
  })
}

// 删除活动
export const deleteActivity = (id:number) => {
  return request({
    url: `volunteers/${id}`,
    method: 'delete'
  })
}
